package com.pearadmin.pro.modules.school.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.common.web.base.page.PageResponse;
import java.util.List;

import com.pearadmin.pro.modules.school.domain.CourseBasicInformation;

import com.pearadmin.pro.modules.school.dto.CourseBasicInformationDTO;
import com.pearadmin.pro.modules.school.param.CourseBasicInformationRequest;

/**
 * 课程基本信息Service接口
 * @author ChenJian
 * @date 2021-08-29
 */
public interface CourseBasicInformationService extends IService<CourseBasicInformation>
{
    /**
    * 获取查询课程基本信息列表 (分页)
     *
     * @param request 参数实体
    *
    * @return {@link CourseBasicInformation}
    * */
    PageResponse< CourseBasicInformation> page(CourseBasicInformationRequest request);

    /**
     * 保存
     * @param courseBasicInformation
     * @return
     */
    Boolean saveOrUpdate(CourseBasicInformationDTO courseBasicInformation);
    /**
     * 查询课程基本信息
     *
     * @param id 课程基本信息ID
     * @return 课程基本信息
     */
    CourseBasicInformationDTO selectCourseBasicInformationById(Long id);

}
